package com.online.college.core.message.service;
import com.online.college.core.message.domain.Message;

import java.util.List;

/**
 * 消息服务层
 */
public interface IMessageService {

	/**
	*根据id获取
	**/
	public Message getById(Long id);

	/**
	 *获取所有
	 **/
	public List<Message> queryListByType(String type);
	
}

